package com.tutorial.demo.goods.mapper;

import com.tutorial.demo.goods.pojo.Tbgoods;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface TbgoodsMapper {
    List<Tbgoods> selectAll();

    Tbgoods selectById(int id);

    List<Tbgoods> selectAllByParantId(int parentId);

    int insert(Tbgoods tbgoods);
}
